//
//  NotifyingClass.m
//  TextApp
//
//  Created by panos on 16/11/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import "NotifyingClass.h"


@implementation NotifyingClass

- (IBAction)displaySomeText:(id)sender
{
	float circumference = [self generateValue];
	
	
	[textView insertText:
	 [NSString stringWithFormat:
	  @"The circumference is: %f\n",circumference]];
	
}

-(float)generateValue
{
	float radius = [textField floatValue];
	float circumference = 2*pi*radius;
	
	return circumference;
}

@end
